use quasiquotes to simplify array macro