cout instead of printf