Check-in code for requirement 1 and 2