markReply change to function