Arithmetic on string isn't allowed in hack

Closes #335