A Proactive Approach To Train Control