version modified (see readme for details)