implemented with-duration macro