trying to remove secureRandom