urlshortener now properly records the method