initilazation warning corrected