Checked all functions start with correct checks and assertions