More work on nav, need to finish .write() method