Refactor helper overlay creation into separate function