fixes and adjustments in else management
single line else statement works
needs more testing