created proper code indentation