add call to function