finished stuff for dmitry