main extends app