constructor of class CAN