added x-location prediction