inductive phase bug/typo fixed and process highly optimised