writing fta framework