This is for stat222 project