call the correct profile class