factored a chunk out of write
Merge branch 'master' of https://github.com/caffeine206/430FP