GUI integrated with code