removing useless assingment
save another array allocation