trace diagram added