finish basic interpreter