written in Python (TKinter)