Add a function to reply