drawing moving objects