Code for Pecari data v.2 sent to Migue 7/16/14