using ftdetect