Use array as type