(C) Add return in schedule function when there are no Input nor Output