Final functions completed