Added a new method for safe list creation