initial hacky but working GS control example