reading green into double array