added completed_records table, and set validations