configuration array needs to be in the correct format