Initialise arrays with correct default values