added timer initializations and handlers