finished the part in Array & some in function section