add racials and cleanup code