Check function added