allow 'centerLocation' function
added parameters
order of ops: by function instead of by junction