• Yes we can make that function as generic by adding the another parameter as you said.