added C_lib, renamed S1