changed a http handler example