working on variable binding for output