added trace and spv events