make code more forgivable when there is extra data already in the database