Initial version of the range directive