added XofY extension