added simple type support to VM