when adding, was iterating over wrong length (fixed); also adjusted for actual position in space versus relative