More compact code