apparently naming global variables isn't my strong suit