added gui function