updated for latest frege, println support for tryfrege