Title: Coping with Capital Inflows