random initialisation but not saving yet
input/output added, now saving initialisation data