adding buffer to randomdict