making !poveys work work, although too lazy to figure out how to access variables of other classes in py and thus replicating a whole lot of stuff