better management of max trains