Print function now works.