adding gui controls