Edit samples now working, storing and retrieving.