this isn't necessary as you are passing a function