Refactoring of Martingale function