updated to add opening transition