add new structures and functions in diksamc.h