changed latc to lat