Code for divvy data project