sorted out the 3rd column