added setProfile()