fix example code - hashPrefix is a setter method