hw6-3 so far... added analytics