troubleshooting storing assoc arrays