fixed like in first variant