added first two modules containing a short sketchup of some functions