update output call to match function