adding database storage capabilities