new version of gui without using Ui files