Updated docblock and added return statement.