hooked up GUI controls