realized you can't send functions over JSON