initial test function
simplify ccs interface