added conf and hashing