1.1.3 Refactored to use printf