hacky merchant implementation