removed rail code