added "spin" function to "addwatermark"