add between condition to where part