Added run() for testing purposes.