Add functions to APP