Added a function with parameters as a selector