learning hoe to use middleman