[upd] some magic
[upd] use reference