Peter Novig Algorithm updates