api2 for testing