Updated else code so it is properly indented