modified to match new function name