migrate to main.csc