added timer (not fully functional), found bug with the bottom textboxes