robot and treasure can be assigned