add call to function struct