more work on profile support