New function for validation and project checks added