Added endl at the end of each branch