add missing code: manually asign process