improve trainning speed