todo netrivial procedury