flexible application