establishing comp class