Legends of Arda code