added some semicolons
add commits and created a preprocessing function
removed multipler parameter for now and corrected function name