refactroring, using pointer value as class uuid