How to find books based on which class you have