moved initialization to 1 place

Signed-off-by: arioch666 <divij.durve@gmail.com>