added url format functions
shortener function created