added hash class for slice method filtering