cleaning up codecs, working on more DAO stuff