Added within functionality for range based inputs