Adding funtions to get odd or even items.