added simple ldf example