working on object scope and heap space.