Code for CSII class