Added beginning of profile_add() function