add long and lat code and now log data