smarter way to do it. Old way could leave bad data in the db.