corrected the random- bit