minor modifiction