lovasz validation works