lifespan now works. added test.