make sure trail, called in renderer is an instance of the proper class