test variable value fetching
this is a proof of concept implementation