Changed function name to better represent what it does