added sergei local code