GUI version compiles successfully