Initial version
Filled in code using mean example