complex class added