fixed so that graphics appear immediately and missing type parameter