latest api works on both client and server identically