added initial times, changed scope of rotate()