move logic into IsyClass for procedural calls