Added back profile validation