do not manipulate serialized objects but use array instead