buttons working + choice of patterns