changes to transitions API (closes #340 and #341)
rebuilt