The attention threshold model