mapping and doing stuff with stderr