worked on the blanking helper function (random blank option)