save db methods implemented