redesigned so that array holds knowledge of position. coordinate calculated dynamically.