added input loading
added unittype loading