init function
pastebin url