added rotation time generation