first implementation of sw_genre