Implemented check functionality