changed code indentation