I don't think you test the result of expand() anywhere and it always returns true, so should be a void