more files

adding some more functions, and correcting some typos