changes to support profiles