Implemented Run() method.