The $profile variable on line 17 changes the value of profile that's been passed in... any reason why that line is there in the first place?