initial FE code