Create array before using it