pretty sure I've got the function call working for real now