minor changes to main.java
allowing pull to idtech