put network calls before app