sample implementation for dropwizard