latest code, processPara not working, pending rewrite