added call of datainterface in onoffdiagram