added artificial quality to take order into account if no quality is
provided