function declarations in pastebin