else block detection of statements