improved search and test, as well as checks, and added conversions.hs