working on the cst
working on cst implementation
added in CST implementation