Removing whitespaces + logic blocks refactor
Changing XMLG0 logic