Receive Profile as a parameter.