Added support to ranges