Add more functions to db_access