checking props