added brief comments for the class and select methods