structure of application