Save and retrieve record implemented.