added spaces to else if conditional.