it works (for one function)