I think the better way split parameters of function and "enviroment".