make into middleman extension