reply functionality added