a few extra checks