Adding a prop check