Initial checking
Add returns to the checking function