dynamic array start to implement