At the beginning of your upkeep, reveal the top card of your library and put that card into your hand. You lose life equal to its mana value.