added 'toString()' for ArrayList