why does this fail? stackoverflow?