Adding a pre-check