wrote about functions