Removed print0 and stopped using exit