Just added case to handle no trains running