refactor to make this my blog