improve coordinate trainer