added kaibo's c files