passed comparison tests with reference compiler. need to update line number now