use environment object