use array notation
Merge pull request #128 from maxisam/patch-1

use array notation