upd: production module written, next step is to debug it