pulse work and cleanup