Added labirent code