added result of generating random bits