added new validations to activities