added genre function