convert to dropwizard