adding options to string hash function