The invention relates to compounds of formula (I) or a pharmaceutically acceptable salt, solvate, hydrate or a pharmaceutically acceptable formulation of the same. Said compounds can be used for inhibiting factor Xa and for preventing and/or treating thrombo-embolic illnesses.