added basic reply functionality