* code for task#2166.