add util methods for type array and list #1