use of Checks class added