payday loan algorithm 3.0