update to day 7 code - using MEAN