working on fdm