function edited.

function edited