added rule for profile