Made the run() method actually work