restricting to between numbers