resolved reference to var name
patched return indentation
patched dict remove function... used the right pop function