few more tweaks to code to gt consolidatio working