adding formula for libltc