implementing mashing and timers
implementing mashing and timers