add another video and minor refactoring to pulse detector