* code for task#412.