add pointers and initialized properly