NOT WORKING! effectively merge the fmc branch
code backup; NOT WORKING!!!