moved delayed work to model method