Learning how to add objects in accordance with time restraints