else if included

with array within array
foreach last update

added scalar
foreach scalar

emanated text made it cleaner