Added range processing