add partial code for profile