defining app