Added else code