test the number between 5 and 8