Removed tk.h dependency