fixes to relative positioning, adding test. set for list.

decided that Set makes more sense than list for this.