add range button now works as well