Switch to print functions and main() func