added function exercises