Use hash for slightly faster search