preparing for initial run