Adapted from Smitten Kitchen.