A novel GaAs avalanche photodiode