Primitive autorange now working