Using tridimensional arrays varibles