example of adding the functions