add documentation
added a newline before the return statement