update interface. Functions are prefixed with the name of the data structure they modify.