W2. Functions updates.