add closures sample and node