Move formatting method into this project