* code for task#1795.