various mods to adhere to functional coding guidelines
added multiplication operator