refactor the store function, add matching, make genres