cleaned up code indentation