Added ui and changed longitude and latitude to floats.