initial middleman application