enanched loops and moore in IOMethods class