unfinished edit label function