adding Com class