Prepartion to implement timer