range method.