prototype of foundation-rails