cleaned up spacing in code