is return an empty list an error here?