adding support for zero duration transitions