Function edited.