declear FWwc as 0 first then set equal to lenght of FW