Make predefined func usable on device