attempting find the source of errors