Changed indenting on function