Initiation of warfarin therapy is problematic. The investigators goal was to evaluate if a new demographic/pharmacogenetic algorithm is better than a usual algorithm based on INR value at day five after four days of 5 mg/day warfarin. To this end patients with atrial fibrillation starting warfarin are randomized in two arms.