removed unused code
Fixed return type to show array name
Fixed the return type as array, again...