train problem