rename function to better describe purpose