moving wfProfileIn() to the start of the function, adding warning suppression like...