Indentation errors resolved