Created a subroutine per check