bad gui but functioning program