added CompDetails Class