how to figure out where the mistakes are