* code for task #1978.