modified for profile changes