Hacking gui to work part 1