adding gui control