added reply functionality