refactor for formatting