changed rest3d API