some minor modificaions to ensure good marks