Final code from UNH District Event