use app prefix in function declarations