One Shot Algo