work on controlling the stage from within gui