code refactoring - fixed indentation