If you could fix the indenting on this block of code, that would be great (this and the function callback below).