tutorial updated with new function names.