use the helper function -- callback function can't pass parameters