algo improved