Select and add Custom function