adding missing files and correcting things