checkpoint
Changed so no longer crashes the machine on building the index, needs a lot of tidy up though