Typo
Change num to int