added testing for odd_even