Automated datatype finder logic completed (wip)