added default case to statementTail()