fixed typos, add all functions into backup