Added GUI Base Logic