profile for and if