todaybible function improved