update fuction sig for data param
add comment for when we can delete work around