connected with main app