making specifiedHash and default contstructor private