operator << needs fixing