created my function