revise app interation API for better interface