set vals to empty array in default case