removed app2 functions