added MaintType.java