Debug. Unfinished work.