created trace method