added for example files.
added
modified and added a few functions.