dr. charles amos submitted to the court a report in which he stated that ron williamson was a mentally ill person as defined by oklahoma law , that he could not appreciate the nature of the charges against him , that he could not assist his attorney in his defense , and that he could attain mental competency only after undergoing treatment .