Added credit, pointer -> array

Why on earth did I use weird pointer stuff instead of simple array access?...