pass environment as first argument