working API copy... moving to saving events now