Use core data to set up one sample