Split run method into two functions to simplify