Got all functions and prints working correctly.