fixed high order problem? added more debugging