added painting of object names