Functions updated.