changed lat png to double