put function works: expandarray list commented out 'not working correctly':