changed setTaste function