use correct function call