adding basic support for transitions