first attempt at using impulses/wagner