sample rail application