Cleaned up and used non-min version of ark for debugging purposes