adding in the filter functionality, next is the student thing