refactor to add blog