added support to ANY statement