Add ftpt. Some bugs needs to be fixed