Switched printf to println