changed relations to have user selectable size and direction