add range method