more blogging and beginning to refactor