implementing global ihex object, routine changes