added gui controls