returned code back to localhost querying