added timer stop functionality