put time and layer in the appropriate place