created a gui