Typo and bad int maths