working on external values