now GUI working