pickle API