function exercises added