Heres my custom function. I made a few features