Fix camelCase function names for snake_case
Typo
Fix clearer error message
Remove redundant prints