Changed "toplevel" to "top_level" to align with existing code