created my function

created my function