Why are you using an anonymous function here that is just 1 line calling another function?