Merge pull request #376 from tiagoantao/master

Div and slice