upgraded to the new spawn.observe api