added inititialized flag