broke up main app