function aadded