* code for task #357.