implement retreiving and saving details