add hashability to within parameter