functions completed.