Removed initialized flag  variable