add db manipulation