adds statechart dep