Simplified  arrays instantiation
Change operator to prevent misread
Remove pet code
Remove more glyph code
Remove unused parameter
Remove more maxtab code
Remove more pet code