loosened restrictions to allow rails 4