Returning based urls, but isn't working as intended yet.