Rewrite using short array syntax