rewrite of network location workflow