more checks in python