testing updated for new API