added LOTR input and output cases