refactor and beginning on clockin button