All stuff implemented.
before file based work