updating with get for algorithms