changed the way booleans are parsed in handleXML, still need to remove bool()