deleted api stuff