Fix indentation. Remove extraneous function