Prototypically working, without hash checking still.