Change Random Algorithm