Added 'expand' to repeat elements