implemented the parameterless nut generator