punch in / punch out functions correctly