fixing indentation and docblock