Removed unneeded function wrapped_f