* code for task#897.