working on the lostw schema