fixed table labeling and added a timer