rename function to better reflect what it's supposed to do