added ability to access parent scope

Signed-off-by: Daniel Fagnan <dnfagnan@gmail.com>