renamed parentFrame to just parent, im not sure why getParent() is
returning a None type forcing me to pass the parent in