updated smoothie code