testing code for profile treatement