added range input management and factored out inputs to sections