Add typedef with array sample