Added else to conditionals.