use slicing syntax
Merge pull request #13 from globin/slicing-syntax

Use slicing syntax