Update algorithms: introduce double square bracket notation; shorten variable names and more