implementing reply