* code for task#1612.