chang stringtype to array; TODO: strcpy method