added bootstrap and hashing