About to write freelist code, but still lacking some things