working on dynamic env