do some work on schedule table <C code side>