added unserialization of values and repackaged into void**