Added error check on db make().