Function cleanup, fixed misspelling, transparency fix.

accomodate lean.