added complete positioning of char array with comments