changes for tk gui