Modifying the mytimer code