* code for task#1810.