working shorten and redirect