add cout to verify that assignment is working