trying to see where the error is being triggered