added gui layer