The invention relates to the compounds of formula I and formula II or its pharmaceutical acceptable salts, as well as polymorphs, solvates, enantiomers, stereoisomers and hydrates thereof. The pharmaceutical compositions comprising an effective amount of compounds of formula I or formula II; and methods for treating or preventing blood clotting disorders may be formulated for oral, buccal, rectal, topical, transdermal, transmucosal, intravenous, parenteral administration, syrup, or injection. Such compositions may be used to treatment of strokes in those with atrial fibrillation due to causes other than heart valve disease, and at least one additional risk factor for stroke (congestive heart failure, hypertension, age, diabetes, and prior stroke), and to prevent the formation of blood clots in the veins in adults operated to replace a hip or knee.