now generates location for arbitrary side