wrapped fctn in obj