could add docstring to explain returned values