snippet on SW test