added default indentation for COINS (4 spaces) and logic to handle else if as well as elseif