added a timer method