It seems like the indentation level on this function is way off.