adding my function