used query instead of appending to path. while not => until.