helper for creating named list