small patch for Fedor's task

final version (1.0)